package com.yoso.definition;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class PostProcessorConfig {

    @Bean(initMethod = "initMethod")
    public MyUser myUser(){
        MyUser myUser = new MyUser();
        myUser.setName("至尊宝");
        myUser.setDesc("他好像一条狗");
        return myUser;
    }
}
